package leetcode.linkedlist.common;


public class ListNodePro implements Comparable<ListNodePro> {
    public int val;
    public ListNode node;

    public ListNodePro(int val, ListNode node) {
        this.val = val;
        this.node = node;
    }

    @Override
    public int compareTo(ListNodePro o) {
        return this.val - o.val;
    }
}
